package com.game;

import java.util.Vector;

import android.graphics.Bitmap;
import android.graphics.Canvas;
import android.view.MotionEvent;

public class Scene8 extends Scene {

	private Bitmap m_Background;
	private Bitmap m_Title;
	private Vector<Bitmap> m_Cols;
	
	public Scene8(SceneManager parent)
	{
		super(parent);
		
		m_Background = LoadBitmap(R.drawable.scene8_bg);
		m_Title = LoadBitmap(R.drawable.scene8_title);
		
		m_Cols = new Vector<Bitmap>();
		
		Bitmap image1 = LoadBitmap(R.drawable.scene8_colum1);
		
		m_Cols.add(image1);
		m_Cols.add(image1);
		m_Cols.add(image1);
		m_Cols.add(image1);

		m_Cols.add(LoadBitmap(R.drawable.scene8_colum2));
	}
	
	@Override
	public void Draw(Canvas canvas) 
	{
		canvas.drawBitmap(m_Background, 0, 0, null);
		canvas.drawBitmap(m_Title, 80, 10, null);
		int xpos = 5;
		for (Bitmap img : m_Cols) 
		{
			canvas.drawBitmap(img, xpos, 50, null);
			xpos += 95;
		}

	}

	@Override
	public void End() {
		// TODO Auto-generated method stub

	}

	@Override
	public void Start() {
		// TODO Auto-generated method stub

	}

	@Override
	public void Update() {
		// TODO Auto-generated method stub

	}

	@Override
	public boolean handleTouch(MotionEvent event) {
		// TODO Auto-generated method stub
		return false;
	}

}
